from selenium import webdriver
import pytest
from Page.Page import Page
@pytest.fixture()
def dr():
    dr=webdriver.Edge()
    dr.maximize_window()
    yield dr
    dr.close()
def test_jd(dr):
    try:
        a=Page(dr)
        a.yx()
    except Exception as e:
        print(e)
